﻿using System;

namespace Dynamic.Facades.EntLib.Data
{
    /// <summary>
    /// 数据库工厂类，通过连接类型创建实例
    /// </summary>
    public class DatabaseProviderFactory : Microsoft.Practices.EnterpriseLibrary.Data.DatabaseProviderFactory
    {
        /// <summary>
        /// 构造函数
        /// </summary>
        public DatabaseProviderFactory()
        {
        }

        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="container"></param>
        public DatabaseProviderFactory(Microsoft.Practices.ServiceLocation.IServiceLocator container)
            : base(container)
        { }

        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="configurationSource"></param>
        public DatabaseProviderFactory(Microsoft.Practices.EnterpriseLibrary.Common.Configuration.IConfigurationSource configurationSource)
            : base(configurationSource)
        { }
    }
}
